﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebNetCorePhoneErp.Model
{
	/// <summary>
    /// 商品列表
    /// </summary>
	[Serializable]
	public partial class G_good : BaseEntity
	{
		/// <summary>
		/// 主键
		/// </summary>
		[Key]
		public string Id { get; set; }
		
		/// <summary>
        /// 商品名称
        /// </summary>
		public string Good_name { get; set; }
		
		/// <summary>
        /// 品牌id
        /// </summary>
		public string Brand_id { get; set; }
		
		/// <summary>
        /// 所属分类id
        /// </summary>
		public string Cate_id { get; set; }
		
		/// <summary>
        /// 商品主图id
        /// </summary>
		public string Good_photo { get; set; }
		
		/// <summary>
        /// 成本价
        /// </summary>
		public decimal? Cost_price { get; set; }
		
		/// <summary>
        /// 销售价
        /// </summary>
		public decimal? Selling_price { get; set; }
		
		/// <summary>
        /// 商品条码
        /// </summary>
		public string Bar_code { get; set; }
		
		/// <summary>
        /// 自定义编码
        /// </summary>
		public string Custom_code { get; set; }
		
		/// <summary>
        /// 录入时间
        /// </summary>
		public DateTime? Input_time { get; set; }
		
		/// <summary>
        /// 录入人id
        /// </summary>
		public string Input_persion_id { get; set; }
		
		/// <summary>
        /// 录入人姓名
        /// </summary>
		public string Input_persion_name { get; set; }
		
		/// <summary>
        /// 是否已经售出，1=是，0=否
        /// </summary>
		public byte? Sell_state { get; set; }
		
		/// <summary>
        /// 售出时间
        /// </summary>
		public DateTime? Sell_out_time { get; set; }
		
		/// <summary>
        /// 备注
        /// </summary>
		public string Remark { get; set; }
		
				
	}
}